import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import installElementPlus from './plugins/element'
import '@/assets/font.css' // 自定义字体
// 初始化样式表
import '@/styles/index.scss'
// 导入svgIcon
import installIcons from '@/icons'
//导入路由鉴权
import './permission'
//i18n
import i18n from './i18n'
//filter
import installFilter from '@/filters'

//打印
import installDirective from '@/directives'
// 导入echarts并绑定自适应
import installEcharts from './plugins/echarts'
// 导入px->rem
import './plugins/rem'
// import hmap from 'huicai-map'
// import 'huicai-map/lib/Widgets/widgets.css'

const app = createApp(App)
installElementPlus(app)
installIcons(app)
installFilter(app)
installDirective(app)
installEcharts(app)
app.use(store).use(router).use(i18n).mount('#app')

// http://wiki.courseimooc.com/admin/ebook
